package cn.zn.modules.member.service.impl;

import cn.zn.framework.common.utils.PageInUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.zn.framework.common.utils.PageUtils;

import cn.zn.modules.member.dao.MemberUserIndexDetailDao;
import cn.zn.modules.member.entity.MemberUserIndexDetailEntity;
import cn.zn.modules.member.service.MemberUserIndexDetailService;


@Service("memberUserIndexDetailService")
public class MemberUserIndexDetailServiceImpl extends ServiceImpl<MemberUserIndexDetailDao, MemberUserIndexDetailEntity> implements MemberUserIndexDetailService {

    @Override
    public PageUtils queryPage(PageInUtils<MemberUserIndexDetailEntity> pageIn) {
        MemberUserIndexDetailEntity entity = pageIn.getEntity();
        QueryWrapper<MemberUserIndexDetailEntity> memberUserIndexDetailQueryWrapper = Wrappers.query();
        if(entity != null){
            // 设置查询条件
        }
        IPage<MemberUserIndexDetailEntity> pageResult = this.page(pageIn.getPageObj(), memberUserIndexDetailQueryWrapper);
        return new PageUtils(pageResult);
    }

}